Skip to content

Conversation

sunnyjangra98
Copy link

Currently there is an issue, i.e. as follow:-

  1. Add new user (user id will be 4)
  2. Delete any user (let say user id 2)
  3. Now add another user (user id will be 4 again), as user.length will be 3 (due to deletion at step 2)
  4. Now delete user id created at step 1 or step 3, it'll delete both users because of same user id, hence updating it to different value each time using Date.now()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant